use chrono::NaiveDateTime;

#[derive(Queryable, Debug, Serialize)]
pub struct Course {
    pub id: i32,
    pub tid: i32,
    pub name: String,
    pub sort: Option<i32>,
    pub remark: Option<String>,
    pub created_at: Option<NaiveDateTime>,
    pub updated_at: Option<NaiveDateTime>,
}